package com.cnap.model.progress;

/**
 * 进度条相关常量
 *
 * @author xc
 **/
public final class ProgressConstants {

    private ProgressConstants() {
    }

    /**
     * 上传：分片阶段
     */
    public static final String STAGE_UPLOAD_PATCH = "patch";
    /**
     * 上传：合并阶段
     */
    public static final String STAGE_UPLOAD_MERGE = "merge";
    /**
     * 分解微服务：解压阶段
     */
    public static final String STAGE_SPLIT_UNZIP = "unzip";
    /**
     * 分解微服务：推送阶段
     */
    public static final String STAGE_SPLIT_PUSH = "push";


    /**
     * 上传：分片占比
     */
    public static final int UPLOAD_PATCH_PERCENT = 50;

    /**
     * 上传：合并占比
     */
    public static final int UPLOAD_MERGE_PERCENT = 50;

    /**
     * 分解微服务：解压占比
     */
    public static final int SPLIT_UNZIP_PERCENT = 50;

    /**
     * 分解微服务：推送占比
     */
    public static final int SPLIT_PUSH_PERCENT = 50;

    /**
     * 类型：上传
     */
    public static final String TYPE_UPLOAD = "upload";

    /**
     * 类型：分解微服务
     */
    public static final String TYPE_SPLIT = "split";
}
